package com.zzj.service;

import com.zzj.entity.Invitation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.model.dto.InvitationCreateDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
public interface IInvitationService extends IService<Invitation> {


    Invitation create(InvitationCreateDTO in);

    boolean expire(String code);

    boolean use(String code);
}
